package com.ktgj.other.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 专车合同对象 rc_contract
 * 
 * @author ruoyi
 * @date 2022-07-27
 */
public class RcContract extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 合同编号 */
    private Long contractid;

    /** 合作商ID */
    @Excel(name = "合作商ID")
    private Long partnerid;

    /** 合同开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "合同开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startdate;

    /** 合同结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "合同结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date enddate;

    /** 合同名称 */
    @Excel(name = "合同名称")
    private String contractname;

    /** 我方联系人 */
    @Excel(name = "我方联系人")
    private String jsjbusinesscontactname;

    /** 我方联系电话 */
    @Excel(name = "我方联系电话")
    private String jsjbusinesscontacttel;

    /** 对方签署人 */
    @Excel(name = "对方签署人")
    private String businesscontactname;

    /** 对方联系电话 */
    @Excel(name = "对方联系电话")
    private String businesscontacttel;

    /** 对方签署人 */
    @Excel(name = "对方签署人")
    private String opponentsignatoryname;

    /** 结算货币种类：1 人民币，2 外币 */
    @Excel(name = "结算货币种类：1 人民币，2 外币")
    private Long settlementcurrencytype;

    /** 结算方式： M 月结，Q 季结 */
    @Excel(name = "结算方式： M 月结，Q 季结")
    private String settlementway;

    /** 对账日期 */
    @Excel(name = "对账日期")
    private String reconciledate;

    /** 对账方式： 1 传真，2 Emai； */
    @Excel(name = "对账方式： 1 传真，2 Emai；")
    private Long reconcileway;

    /** 发票要求 0 不需要，-1 先开发票，1 后开发票 */
    @Excel(name = "发票要求 0 不需要，-1 先开发票，1 后开发票")
    private Long invoiceway;

    /** 开户行名称 */
    @Excel(name = "开户行名称")
    private String openbankname;

    /** 银行卡号 */
    @Excel(name = "银行卡号")
    private Long accountnumber;

    /** 账户名 */
    @Excel(name = "账户名")
    private String accountname;

    /** 服务种类 */
    @Excel(name = "服务种类")
    private String servicetype;

    /** 发票抬头 */
    @Excel(name = "发票抬头")
    private String invoicetitle;

    /** 发票接收人 */
    @Excel(name = "发票接收人")
    private String invoicereceiver;

    /** 邮寄发票地址 */
    @Excel(name = "邮寄发票地址")
    private String postinvoiceaddress;

    /** 接收发票人电话 */
    @Excel(name = "接收发票人电话")
    private String postphonenumber;

    /** 邮编 */
    @Excel(name = "邮编")
    private Long postcode;

    public void setContractid(Long contractid) 
    {
        this.contractid = contractid;
    }

    public Long getContractid() 
    {
        return contractid;
    }
    public void setPartnerid(Long partnerid) 
    {
        this.partnerid = partnerid;
    }

    public Long getPartnerid() 
    {
        return partnerid;
    }
    public void setStartdate(Date startdate) 
    {
        this.startdate = startdate;
    }

    public Date getStartdate() 
    {
        return startdate;
    }
    public void setEnddate(Date enddate) 
    {
        this.enddate = enddate;
    }

    public Date getEnddate() 
    {
        return enddate;
    }
    public void setContractname(String contractname) 
    {
        this.contractname = contractname;
    }

    public String getContractname() 
    {
        return contractname;
    }
    public void setJsjbusinesscontactname(String jsjbusinesscontactname) 
    {
        this.jsjbusinesscontactname = jsjbusinesscontactname;
    }

    public String getJsjbusinesscontactname() 
    {
        return jsjbusinesscontactname;
    }
    public void setJsjbusinesscontacttel(String jsjbusinesscontacttel) 
    {
        this.jsjbusinesscontacttel = jsjbusinesscontacttel;
    }

    public String getJsjbusinesscontacttel() 
    {
        return jsjbusinesscontacttel;
    }
    public void setBusinesscontactname(String businesscontactname) 
    {
        this.businesscontactname = businesscontactname;
    }

    public String getBusinesscontactname() 
    {
        return businesscontactname;
    }
    public void setBusinesscontacttel(String businesscontacttel) 
    {
        this.businesscontacttel = businesscontacttel;
    }

    public String getBusinesscontacttel() 
    {
        return businesscontacttel;
    }
    public void setOpponentsignatoryname(String opponentsignatoryname) 
    {
        this.opponentsignatoryname = opponentsignatoryname;
    }

    public String getOpponentsignatoryname() 
    {
        return opponentsignatoryname;
    }
    public void setSettlementcurrencytype(Long settlementcurrencytype) 
    {
        this.settlementcurrencytype = settlementcurrencytype;
    }

    public Long getSettlementcurrencytype() 
    {
        return settlementcurrencytype;
    }
    public void setSettlementway(String settlementway) 
    {
        this.settlementway = settlementway;
    }

    public String getSettlementway() 
    {
        return settlementway;
    }
    public void setReconciledate(String reconciledate) 
    {
        this.reconciledate = reconciledate;
    }

    public String getReconciledate() 
    {
        return reconciledate;
    }
    public void setReconcileway(Long reconcileway) 
    {
        this.reconcileway = reconcileway;
    }

    public Long getReconcileway() 
    {
        return reconcileway;
    }
    public void setInvoiceway(Long invoiceway) 
    {
        this.invoiceway = invoiceway;
    }

    public Long getInvoiceway() 
    {
        return invoiceway;
    }
    public void setOpenbankname(String openbankname) 
    {
        this.openbankname = openbankname;
    }

    public String getOpenbankname() 
    {
        return openbankname;
    }
    public void setAccountnumber(Long accountnumber) 
    {
        this.accountnumber = accountnumber;
    }

    public Long getAccountnumber() 
    {
        return accountnumber;
    }
    public void setAccountname(String accountname) 
    {
        this.accountname = accountname;
    }

    public String getAccountname() 
    {
        return accountname;
    }
    public void setServicetype(String servicetype) 
    {
        this.servicetype = servicetype;
    }

    public String getServicetype() 
    {
        return servicetype;
    }
    public void setInvoicetitle(String invoicetitle) 
    {
        this.invoicetitle = invoicetitle;
    }

    public String getInvoicetitle() 
    {
        return invoicetitle;
    }
    public void setInvoicereceiver(String invoicereceiver) 
    {
        this.invoicereceiver = invoicereceiver;
    }

    public String getInvoicereceiver() 
    {
        return invoicereceiver;
    }
    public void setPostinvoiceaddress(String postinvoiceaddress) 
    {
        this.postinvoiceaddress = postinvoiceaddress;
    }

    public String getPostinvoiceaddress() 
    {
        return postinvoiceaddress;
    }
    public void setPostphonenumber(String postphonenumber) 
    {
        this.postphonenumber = postphonenumber;
    }

    public String getPostphonenumber() 
    {
        return postphonenumber;
    }
    public void setPostcode(Long postcode) 
    {
        this.postcode = postcode;
    }

    public Long getPostcode() 
    {
        return postcode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("contractid", getContractid())
            .append("partnerid", getPartnerid())
            .append("startdate", getStartdate())
            .append("enddate", getEnddate())
            .append("contractname", getContractname())
            .append("jsjbusinesscontactname", getJsjbusinesscontactname())
            .append("jsjbusinesscontacttel", getJsjbusinesscontacttel())
            .append("businesscontactname", getBusinesscontactname())
            .append("businesscontacttel", getBusinesscontacttel())
            .append("opponentsignatoryname", getOpponentsignatoryname())
            .append("settlementcurrencytype", getSettlementcurrencytype())
            .append("settlementway", getSettlementway())
            .append("reconciledate", getReconciledate())
            .append("reconcileway", getReconcileway())
            .append("invoiceway", getInvoiceway())
            .append("openbankname", getOpenbankname())
            .append("accountnumber", getAccountnumber())
            .append("accountname", getAccountname())
            .append("servicetype", getServicetype())
            .append("invoicetitle", getInvoicetitle())
            .append("invoicereceiver", getInvoicereceiver())
            .append("postinvoiceaddress", getPostinvoiceaddress())
            .append("postphonenumber", getPostphonenumber())
            .append("postcode", getPostcode())
            .append("createtime", getCreateTime())
            .append("updatetime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
